﻿//////////////////////////////////////////////////////////////////////////////
//
//  Copyright © 1998-2024 Glodon Company Limited.  All rights reserved.
//
//  Use of this software is subject to the terms of the Glodon license
//  agreement provided at the time of installation or download, or which
//  otherwise accompanies this software in either electronic or hard copy form.  
//
//////////////////////////////////////////////////////////////////////////////

#pragma once

#include "GcmpPickInterface.h"
#include "WeakReferenceable.h"


namespace gcmp
{
    class IPickEventArgs;

    /// \brief 拾取事件处理接口类
    ///
    /// 需要监听拾取事件，从这个类中继承
    class GCMP_PICK_INTERFACE_EXPORT IPickEventHandler : public WeakReferenceable
    {
    public:
         /// \brief 事件处理入口函数
         /// \param pArgs 事件参数
         /// \return void
         virtual void On(IPickEventArgs* pArgs) = 0;
    };
}

